package org.cug.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.cug.pojo.InternshipTeaching;

import java.util.List;

@Mapper
public interface InternshipTeachingMapper {
    List<InternshipTeaching> list(List<Integer> ids);

    void insert(InternshipTeaching internshipTeaching);

    void delete(List<Integer> ids);

    InternshipTeaching select(Integer id);

    void update(InternshipTeaching internshipTeaching);

    @Select("select * from internship_teaching")
    List<InternshipTeaching> listAll();
}
